active-support episodes

#115
Jun 23, 2008

Caching in Rails 2.1

Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode.
Download (9.6 MB, 8:47)
alternative download for iPod & Apple TV (9.2 MB, 8:47)
#42
Jun 08, 2007

with_options

Several methods in rails take a hash of options as the last argument. If you are passing the same options to several methods, you can remove this duplication by using with_options. Learn all about it in this episode.
Download (9 MB, 3:55)
alternative download for iPod & Apple TV (5.5 MB, 3:55)
#31
May 14, 2007

Formatting Time

Learn how to use the trusty strftime method to format a time, and see how Rails allows you to save this format for later use.
Download (17.9 MB, 5:01)
alternative download for iPod & Apple TV (7.3 MB, 5:01)
#29
May 09, 2007

group_by Month

Learn how to use the very useful group_by method to group an array by anything you want! In this episode I group an array of tasks by month then sort it properly.
Download (30.3 MB, 5:11)
alternative download for iPod & Apple TV (10.7 MB, 5:11)
#28
May 07, 2007

in_groups_of

Have you ever wanted to visually line up items in rows and columns? The in_groups_of method makes this a cinch. Just watch out for the gotcha.
Download (15.3 MB, 4:25)
alternative download for iPod & Apple TV (7 MB, 4:25)
#6
Mar 16, 2007

Shortcut Blocks with Symbol to_proc

It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily.
Download (6.5 MB, 3:44)
alternative download for iPod & Apple TV (4.9 MB, 3:44)

sponsored by:
if you want to help:
required:
Get Quicktime Player